<?php
class Test extends CI_Controller{    
    function __construct(){
        parent::__construct();
    }

    function index(){
        echo "
        <script type=\"text/javascript\" src='http://localhost/soi.com/test/js'>
        </script>
        ";
    }

    function js(){
        echo "
        alert('aaaaaaa');
        ";
    }
}
?>
